Auto merge of #4209 - natboehm:add-index-flag, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 24 Jun 2017 04:24:55 +0000 (04:24 +0000)
committerbors <bors@rust-lang.org>
Sat, 24 Jun 2017 04:24:55 +0000 (04:24 +0000)
commit568b23f1ba278260206794c2396573d9f47ee07c
treed77ff894c0bfc2286bc051f4048570d845308416
parentad1de97b2e26e89f88f897c3b7226d72e7403daa
parent78e64de9c7335ff83cedf00467fbb14dac300400
Auto merge of #4209 - natboehm:add-index-flag, r=alexcrichton

Replace `cargo publish --host` with `cargo publish --index`

This change makes the command consistent with other versions with the same flag. `cargo publish --host` is still supported, currently marked as deprecated, or for reuse as mentioned in issue #4208.

Fixes #3797